import React, {PureComponent} from "react";
import {PageHeaderWrapper} from "@ant-design/pro-layout";
import {connect} from "umi";
import {Button, Collapse, Comment, Form, Input, InputNumber, List} from 'antd';
import TextArea from "antd/lib/input/TextArea";
import convertMarkDown from "@/utils/marked";

const Editor = ({onChange, onSubmit, value}) => (
  <>
    <Form.Item>
      <TextArea rows={4} onChange={onChange} value={value}/>
    </Form.Item>
    <Form.Item>
      <Button htmlType="submit" onClick={onSubmit} type="primary">
        Add Comment
      </Button>
    </Form.Item>
  </>
);


const NoteList = ({notePage, defaultExpand, go, remember, forget, edit, del}) => {


}


export default connect(({bookNote, loading}) => ({
  bookNote: bookNote,
}))(BookNote);
